﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Input;

namespace MockupDesigner.AppItems
{
    public class CustomToolbox : Toolbox
    {

        public string ToolboxName
        {
            get { return (string)GetValue(ToolboxNameProperty); }
            set { SetValue(ToolboxNameProperty, value); }
        }

        // Using a DependencyProperty as the backing store for Name.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty ToolboxNameProperty =
            DependencyProperty.Register("ToolboxName", typeof(string), typeof(CustomToolbox), new UIPropertyMetadata(string.Empty));

        public bool IsExpanded
        {
            get { return (bool)GetValue(IsExpandedProperty); }
            set { SetValue(IsExpandedProperty, value); }
        }

        // Using a DependencyProperty as the backing store for IsHidden.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty IsExpandedProperty =
            DependencyProperty.Register("IsExpanded", typeof(bool), typeof(CustomToolbox), new UIPropertyMetadata(false));

    }
}
